import React from "react";
import { useEffect } from "react";
import './Hero.css';
import { useState } from "react";
import Search from "./Search";
import HeroList from "./HeroList";

export default function Hero() {

  return (
    <div className="container">
      <h2>英雄列表</h2>
      <hr />
      <Search  />
      <div className="clearfix"></div>
      <hr />
      <HeroList  />
    </div>
  );
}
